package com.pinecone.dto;


import com.pinecone.common.validator.group.AddGroup;
import com.pinecone.common.validator.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by xiaowang on 2017/9/27.
 */

@Data
public class LiveRoomTabDTO {


    //活动直播间id
    @NotNull(message = "直播间不能为空")
    private String liveRoomId;
    //菜单名称
    @NotNull(message = "菜单名称不能为空")
    @Size(max = 50)
    private String tabName;
    //菜单内容
    @NotNull(message = "菜单内容不能为空",groups = {UpdateGroup.class})
    private String tabContent;


}
